GBML manual / Constants

SHAPE_22_FLOOR_UP_RIGHT_1

A 22.5 degree slope: floor rising to the right, piece 1 of 2.

Syntax

SHAPE_22_FLOOR_UP_RIGHT_1: constant

Description

A 22.5 degree slope: floor rising to the right. It is the number 5. It is piece 1 of 2 of the slope: the pieces go one after the other, and each starts as high as the one before it ended. Piece 1 has the least solid. The Slopes page shows how the shapes join.

........
........
........
........
......##
....####
..######
########

In the picture, the characters # are solid pixels and the dots are open ones.

Example

tile_set_shape(x, y + 8, SHAPE_22_FLOOR_UP_RIGHT_1);

Gives the square just under the walker this slope.

See also: tile_shapetile_set_shapeSlopesSHAPE_22_FLOOR_UP_RIGHT_2